<!--维修工订单相关状态-->
<if condition="($data['status'] eq 4) and ($parent_position eq 1) and ($userId eq $data['repairman_id'])">
    <if condition="$data['cut_off'] eq 0">
        <div class="dialog clearfix">
            <span class="right-big"></span>
            <span class="right-middle"></span>
            <p>
                <span class="circle green"></span>待维修
            </p>
            <p><span>完工操作：</span>
                {BEESCRM:$data['repairman_real_name']|mb_substr=0,1,'utf8'}师傅　工号：{BEESCRM:$data['repairman_number']}</p>
            <p><span>完工说明：</span></p>

            <div class="upload-img clearfix">
                <div class="imgbox fl-left"><span><img id="picture"/></span></div>
                <div class="add-img fl-left">
                    <input class="file-input" type="file" accept="image/*" name="upload-file" id="fileupload_input"/>
                    <span class="iconfont icon-tianjia tianjia"></span>
                </div>
            </div>
            <p class="form-box">
                <textarea class="textarea" placeholder="完工说明描述" id="finish_remark"></textarea>
            </p>
            <eq name="data['pay_type']" value="1"> <!--线上支付-->
                <p class="form-box">
                    <input class="input" name="order_amount" id="order_amount" placeholder="请输入实际金额">
                </p>
            </eq>
            <div class="label-btn clearfix">
                <a href="javascript:void(0)" class="submit" id="finish_submit">提交完成</a>
                <a href="javascript:void(0)" class="submit" id="cancel2">无法维修</a>
            </div>
        </div>

        <!--无法维修弹窗-->
        <div class="layer-wraper" id="repairman_layer">
            <div class="main">
                <p class="field">请输入无法维修原因</p>
                <textarea placeholder="请简要描述返修原因" id="content"></textarea>
                <p class="field">请选择返修类目</p>
                <p class="form-box">
                    <select class="select" id="firstCategory">
                        <option value='0'>请选择一级分类</option>
                        <volist name="projectList" id="vo">
                            <option value="{BEESCRM:$vo.project_id}">{BEESCRM:$vo.project_name}</option>
                        </volist>
                    </select>
                    <span class="triangle"></span>
                </p>
                <p class="form-box" id="secondCategory">

                </p>
                <div class="pop-btn">
                    <a href="javascript:void(0);" class="pbtn cancel">取消</a>
                    <a href="javascript:void(0);" class="pbtn blue-btn">确认提交</a>
                </div>
            </div>
        </div>
    </if>
    <if condition="$data['abolish_type'] eq 2 and $data['cut_off'] eq 1">
        <div class="dialog clearfix">
            <span class="right-big"></span>
            <span class="right-middle"></span>
            <p>
                <span class="circle green"></span>已取消<span class="time fl-right">{BEESCRM:$data.cancel_time|date='Y-m-d H:i',###}</span>
            </p>
            <p><span>取消说明:</span>{BEESCRM:$data.remark}</p>
            <p><span>返修分类:</span>一级报修类目:{BEESCRM:$data.new_project_name}
                <notempty name="data.new_project_child_name">&nbsp;&nbsp;&nbsp;二级报修类目:{BEESCRM:$data.new_project_child_name}</notempty>
            </p>
        </div>
    <elseif condition="$data['abolish_type'] neq 2 and $data['cut_off'] eq 1" />
        <div class="dialog clearfix">
            <span class="right-big"></span>
            <span class="right-middle"></span>
            <p>
                <span class="circle green"></span>
                已取消
            </p>
            <p><span>取消人:</span> {BEESCRM:$data.real_name}</p>
            <p><span>取消说明:</span> {BEESCRM:$data.remark}</p>
            <p><span>取消类型:</span>
                <if condition="$data['abolish_type'] eq 1 ">报修人取消
                    <elseif condition="$data['abolish_type'] eq 2"/>
                    维修工取消
                    <elseif condition="$data['abolish_type'] eq 3"/>
                    管理员取消
                </if>
            </p>
        </div>

</if>

</if>

<!--无法维修弹窗-->
